package com.cskaoyan.bean.vo.wx_cart;

import com.cskaoyan.bean.po.wx_cart.CartAddressInfo;
import com.cskaoyan.bean.po.wx_cart.CartItemInfo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @program: market
 * @description: 提供商品详情，收货地址，折扣等下单确认信息,确认下单才生成订单
 * @author: zhong
 * @create: 2022-07-19 22:12
 **/
@Data
public class CartCheckoutVO {
    private Integer grouponRulesId;//bo
    private Integer cartId;//bo
    private Integer userCouponId;//bo
    private Integer couponId;//bo
    private Integer addressId;//bo

    private CartAddressInfo checkedAddress;//地址表
    private List<CartItemInfo> checkedGoodsList;//cart表
    private Integer availableCouponLength;//可用优惠券张数

    private BigDecimal goodsTotalPrice;//商品合计
    private BigDecimal freightPrice;//运费
    private BigDecimal couponPrice;//优惠券折价
    private BigDecimal orderTotalPrice;//订单总价
    private BigDecimal grouponPrice;//团购折价，（后台无团购管理功能）
    private BigDecimal actualPrice;//实际付款
}
